﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace PropertyManagment.entity.dto {

    /// <summary>
    /// 用户实体类
    /// </summary>
    public class SysUserDto {

        /// <summary>
        /// 用户id
        /// </summary>
        public long id { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string username { get; set; }

        /// <summary>
        /// 用户权限
        /// </summary>
        public List<string> authorities { get; set; }

        public SysUserDto(long id, string username, List<string> authorities) {
            this.id = id;
            this.username = username;
            this.authorities = authorities;
        }
    }
}
